Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
stack-source-map
Advanced tools
Attamp to make error stack works with source-map in browser, only Chrome supportted yet.
The code mostly from evanw/node-source-map-support, but simplified to works with browser only and fixed to support all source map mode of webpack
Basically, it's some kind hack of v8 message.js
Works with babel and webpack :smiley:
npm install stack-source-map
require('stack-source-map')()
var entry = [
'stack-source-map/register'
// other entries
...
]
Include file stacksourmap.js
in your page, and add one line code:
StackSourceMap()
option.empty
empty cache between operations if true, default falsenpm install
node server
open http://localhost:8080/bundle
MIT
FAQs
Add source map support for error stack (Chrome only)
The npm package stack-source-map receives a total of 581 weekly downloads. As such, stack-source-map popularity was classified as not popular.
We found that stack-source-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.